package com.zbkj.admin.model.req;

import com.zbkj.dal.pojo.request.PageParamRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class UserListReq extends PageParamRequest {

    @ApiModelProperty(value = "用户id", required = false, example = "10001")
    private Long userId;

    @ApiModelProperty(value = "用户名称", required = false, example = "张三")
    private String nickName;

    @ApiModelProperty(value = "手机号", required = false, example = "18349230239")
    private String phone;

    @ApiModelProperty(value = "所属店铺名称", required = false, example = "店铺 1")
    private String shopName;

    @ApiModelProperty(value = "用户标签", required = false, example = "[\"MEMBER\"]")
    private List<String> userTag;

    /**
     * @see com.zbkj.dal.base.enums.UserStatus
     */
    @ApiModelProperty(value = "状态【枚举接口：/enum/user/status】", required = false, example = "1")
    private String status;

    /**
     * @see com.zbkj.dal.base.enums.UserIdentity
     */
    @ApiModelProperty(value = "身份【枚举接口：/user/identity】", required = false, example = "MEMBER")
    private String identity;
}
